package com.dangs.autotest.system;

import android.os.Build;

import com.dangs.autotest.tool.L;

public class PlatformAPI {

    private final static String TAG = "PlatformAPI";

    private static CommonInterfaceImp imp;

    public static CommonInterfaceImp getImp() {
        synchronized (PlatformAPI.class) {
            if (imp == null) {
                if (Build.MODEL.toLowerCase().contains("f3")) {
                    imp = new F3InterfaceImp();
                } else {
                    imp = new F3InterfaceImp();
                }
            }
        }
        return imp;
    }

    PlatformAPI() {

    }
}
